package com.cxz.food.service;

import com.cxz.food.domain.Food;
import com.cxz.food.domain.FoodClass;
import com.cxz.food.domain.vo.FoodsResponseVo;

import java.util.List;

public interface FoodService {

    Integer addFood(Food food) throws Exception;

    Integer deleteFoodById(Integer id) throws Exception;

    Integer updateFood(Food food) throws Exception;

    List<Food> getFoodsByBusinessId(Integer businessId) throws Exception;

    FoodsResponseVo findFoodById(Integer foodId) throws Exception;


    List<FoodClass> getFoodClassByBusinessId(Integer businessId) throws Exception;

}
